﻿using System;
using System.Collections.Generic;

namespace SlamCms.Data
{
	public class Site : ICloneable
	{
		public Site()
		{
			this.Zones = new List<Zone>();
			this.Lists = new List<List>();
		}

		public Guid SiteId { get; set; }
		public string Name { get; set; }
		public string Url { get; set; }
		public string Title { get; set; }
		public Guid SiteCollectionId { get; set; }
		public virtual SiteCollection SiteCollection { get; set; }
		public ICollection<Zone> Zones { get; set; }
		public ICollection<List> Lists { get; set; } 

		public object Clone()
		{
			return MemberwiseClone();
		}
	}
}
